<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
<%--    <link rel="stylesheet" href="${ctx}/statics/css/dataforms.css?v=${v}">--%>
    <title>精度分析</title>
</head>
<body>
<h3>【精度分析】功能暂未开放！</h3>
<!--条件筛选-->
<div class="filters layui-hide">
    <blockquote class="layui-elem-quote">
        <form action="#" class="layui-form clearfix" lay-filter="search">
            <div class="layui-inline">
                <label class="layui-form-label">区域</label>
                <div class="layui-input-inline area-option-wrap">
<%--                    <select name="areaId" lay-filter="areaMenu" class="layui-bg-blue areaMenu w7b"></select>--%>
                    <select name="areaId" xm-select="areaMenu" class="multi-area areaMenu w7b" xm-select-skin="normal" xm-select-height="38px" xm-select-show-count="1"></select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">设备</label>
                <div class="layui-input-inline dev-option-wrap">
                    <select name="meterCode" xm-select="select-meter" class="multi-meter meterMenu"
                            xm-select-skin="normal" xm-select-height="38px" xm-select-show-count="1"></select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">开始时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="startTime" name="fromTime">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">结束时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="endTime" name="toTime">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">设备类型</label>
                <div class="layui-input-inline">
                    <select class="w2b" lay-filter="repType" name="repType">
                        <option name="devtype" value="2" >电表</option>
                        <option name="devtype" value="1" selected>水表</option>
                        <option name="devtype" value="2" >气表</option>
                    </select>
                </div>
            </div>
<%--            <div class="layui-inline">--%>
<%--                <label class="layui-form-label">判定条件</label>--%>
<%--                <div class="layui-input-inline area-option-wrap">--%>
<%--                    <select name="status" lay-filter="status" class="layui-bg-blue w2b">--%>
<%--                        <option value="all">全部</option>--%>
<%--                        <option value="OK" checked>OK</option>--%>
<%--                        <option value="NG">NG</option>--%>
<%--                    </select>--%>
<%--                </div>--%>
<%--            </div>--%>
            <button class="layui-btn refreshBtn layui-hide" lay-submit lay-filter="search"></button>
        </form>
    </blockquote>
</div>
<section class="container-wrap precision-wrap layui-hide">
    <div class="main-part precision">
        <!--表格-->
        <div class="excel" id="printcontent">
            <div class="excelwrap">
                <table id="reports" lay-filter="daTable"></table>
            </div>
        </div>
        <div class="chart-wrap">
            <div class="minmax">
                <div>精度分析图</div>
                <div class="tool-btn">
                    <span class="minimize"><i class="layui-icon layui-icon-subtraction" title="最小化"></i></span>
                    <span class="restore layui-hide"><i class="layui-icon layui-icon-layer" title="还原"></i></span>
                </div>
            </div>
            <div class="time-range">
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="chart-st" name="fromTime">
                </div>
                <span> ~ </span>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="chart-et" name="fromTime">
                </div>
            </div>
            <div id="chartbox"></div>
        </div>
    </div>
    <div class="operate-btns">
        <button class="layui-btn layui-btn-primary layui-btn-lg searchBtn"><i class="layui-icon layui-icon-search"></i>查询</button>
        <button class="layui-btn layui-btn-primary layui-btn-lg exportBtn"><i class="layui-icon layui-icon-export"></i>导出</button>
        <button class="layui-btn layui-btn-primary layui-btn-lg printBtn"><i class="layui-icon layui-icon-print"></i>打印</button>
    </div>
</section>

<!--startprint-->
<div id="printContentBox" style="display: none;"></div>
<!--endprint-->
<script type="text/html" id="area-tpl">
<%--    <option value="ALL">ALL</option>--%>
    {{#  layui.each(d, function(index, item){ }}
    <option value="{{ item.areaId }}">{{ item.areaName }}</option>
    {{#  }); }}
</script>
<script type="text/html" id="meter-tpl">
    {{#  layui.each(d, function(index, item){ }}
    <option value="{{ item.meterCode }}">{{ item.anotherName }}</option>
    {{#  }); }}
</script>

<script type="text/html" id="tools-tpl">
    <button class="layui-btn layui-btn-primary layui-btn-sm" lay-event="stop"><i class="layui-icon layui-icon-pause"></i>暂停</button>
    <button class="layui-btn layui-btn-primary layui-btn-sm" lay-event="takePicture"><i class="layui-icon layui-icon-camera"></i>拍照</button>
    <button class="layui-btn layui-btn-primary layui-btn-sm" lay-event="recover"><i class="layui-icon layui-icon-refresh"></i>恢复</button>
</script>

<script type="text/html" id="progress-tpl">
    <div class="layui-progress layui-progress-big layer_notice" lay-showPercent="true" lay-filter="progress">
        <div class="layui-progress-bar layui-bg-red" lay-percent="0%"></div>
    </div>
    <p style="text-align: center;">
        <span class="text"></span>
    </p>
</script>

<script type="text/html" id="sel-tpl">
    <select name="status" lay-filter="status" class="layui-bg-blue">
        <option value="">请选择</option>
        <option value="1">图片不清晰</option>
        <option value="2">识别错误</option>
        <option value="2">光线太暗</option>
        <option value="2">位置偏移</option>
    </select>
</script>
<%--img--%>
<script type="text/html" id="imgTpl">
    <span id="pic_{{ d.id }}"><img src="{{ d.imgurl }}" lay-event="showPic" ></span>
</script>
<%--<script src="${ctx}/statics/libs/echarts/echarts.min.js?v=${v}"></script>--%>
<%--<script src="${ctx}/statics/libs/echarts/darkTheme.js?v=${v}"></script>--%>
<%--<script src="${ctx}/statics/js/precision.js?v=${v}"></script>--%>
</body>
</html>
